<template>
  <Box :schema="schema" v-if="schema.componentName === 'box'"/>
  <RowBox :schema="schema" v-if="schema.componentName === 'boxrow'" />
  <ColBox :schema="schema" v-if="schema.componentName === 'boxcol'" />
</template>

<script setup lang="ts">
import type {schema} from "@/typings";
import Box from "./Box/index.vue";
import RowBox from "./RowBox/index.vue";
import ColBox from "./ColBox/index.vue";

defineProps<{ schema: schema }>();
</script>

<style scoped lang="less">

</style>
